package com.Sum;

/**
 * ClassName: SumTset
 * Package:
 * Description:
 *
 * @Author 软件232班——欧阳昊淼
 * @Create 2024/8/27 20:17
 * @Version 17.0.2
 */
public class SumTset {
    public static void main(String[] args) {
        int sum = 0;
        for (int i = 1; i <= 100; i++) {
            i += sum; // sum = i + sum
            sum = i % 3;
            System.out.println(sum);

        }
    }
}
